<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of user_tag
 *
 * @author n1kolyan
 */
class user_tag extends CActiveRecord
{
    public static function model($className = __CLASS__) {
       return parent::model($className);
    }

    public function tableName() {
        return 'user_tag';
    }

    public function relations() {
         return array(
            'user' => array(self::BELONGS_TO, 'user', 'user_id'),
           
        );
        }
}
?>
